package functions;

public class Sqrt extends MoveFunction {
	private int variate;
	
	public Sqrt(int variate) {
		this.variate = variate;
	}
	
	@Override
	public double getY(double x) {
		return (Math.sqrt(variate*x));
	}

	@Override
	public Sqrt clone() throws CloneNotSupportedException {
		Sqrt clone = new Sqrt(this.variate);
		this.clone_help(clone);
		
		return clone;
	}
}
